/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.meibang.consultation.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.apestar.common.persistence.Page;
import cn.apestar.common.service.CrudService;
import cn.apestar.modules.meibang.consultation.dao.BeautyConsultationOrderAnswerDao;
import cn.apestar.modules.meibang.consultation.entity.BeautyConsultationOrderAnswer;

/**
 * answerService
 * @author answer
 * @version 2017-06-05
 */
@Service
@Transactional(readOnly = true)
public class BeautyConsultationOrderAnswerService extends CrudService<BeautyConsultationOrderAnswerDao, BeautyConsultationOrderAnswer> {

    @Override
    public BeautyConsultationOrderAnswer get(String id) {
        return super.get(id);
    }

    public List<BeautyConsultationOrderAnswer> findList(BeautyConsultationOrderAnswer beautyConsultationOrderAnswer) {
        return super.findList(beautyConsultationOrderAnswer);
    }

    public Page<BeautyConsultationOrderAnswer> findPage(Page<BeautyConsultationOrderAnswer> page,
        BeautyConsultationOrderAnswer beautyConsultationOrderAnswer) {
        return super.findPage(page, beautyConsultationOrderAnswer);
    }

    @Transactional(readOnly = false)
    public void save(BeautyConsultationOrderAnswer beautyConsultationOrderAnswer) {
        super.save(beautyConsultationOrderAnswer);
    }

    @Transactional(readOnly = false)
    public void delete(BeautyConsultationOrderAnswer beautyConsultationOrderAnswer) {
        super.delete(beautyConsultationOrderAnswer);
    }

}